<template>
  <div id="app">
        <MyHeader></MyHeader>
        <MyMain>
        </MyMain>
        <MyFooter></MyFooter>
  </div>
</template>

<script>
import MyHeader from './components/my-header.vue'
import MyMain from './components/my-main.vue'
import MyFooter  from './components/my-footer.vue'
//2.在components节点中挂载
export default {
  components: {
    MyHeader,
    MyMain,
    MyFooter,
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
